html { 
    box-sizing: border-box;
    @font-face {
        font-family: 'Glyphicons Halflings';
        src: url('../fonts/glyphicons-halflings-regular.eot');
        src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
    }
} 

*, *:before, *:after {
  box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei";
    font-size:14px;
    color:#333;
}

#background {
    min-width: 1250px;
    min-height: 100vh;
    background-color: #bdc3c7;
    position: relative;
}

#header {
    min-width: 1200px;
    margin: 0 25px;
}

#logo {
    height: 100px;
    padding: 12.5px 12.5px 12.5px 39px;
    display: inline-block;
}

#logo img {
    opacity: 0.6;
}

#logo span {
    height: 72px;
    line-height: 72px;
    display: inline-block;
    font-size: 3em;
    font-weight: bold;
    text-indent: 16px;
    letter-spacing: 16px;
    vertical-align: top;
    opacity: 0.8;
    text-shadow: 0 0 1px rgba(0,0,0,0.8);
    cursor: default;
}

#main {
    width: calc(100vw - 50px);
    min-width: 1200px;
    min-height: 800px;
    margin: 0 25px;
    display: flex;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
}

#nav {
    width: 150px;
    position: relative;
    border-top-left-radius: 30px;
    background-color: #2e3d4f;
}

#user {
    position: absolute;
    right: 200px;
    top: 17px;
}

#user-menu {
    width: 200px;
    height: 159px;
    margin: 0;
    padding: 10px 5px;
    position: absolute;
    right: -66px;
    top: -17px;
    display: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    list-style: none;
    text-align: center;
    font-size: 14px;
    background-color: #2e3d4f;
}

#user-face {
    width: 66px;
    height: 66px;  
    position: relative;
    border-radius: 33px;
    border: 3px solid #f5f7f7;
    transition: all 0.6s linear;
    cursor: pointer;
}

#user-face::before {
    content:"";
    width: 44px;
    height: 22px;
    position: absolute;
    top: 22px;
    left: -44px;
    border-top-left-radius: 11px;
    border-bottom-left-radius: 11px;
    background-color: #f5f7f7;
    transition: all 0.6s linear;
}

#user-face::after {
    content:"";
    width: 44px;
    height: 22px;
    position: absolute;
    top: 22px;
    right: -44px;
    border-top-right-radius: 11px;
    border-bottom-right-radius: 11px;
    background-color: #f5f7f7;
    transition: all 0.6s linear;
}

#user .user-troggle-color, 
#user .user-troggle-color::before,
#user .user-troggle-color::after {
    border-color: #17bd9e;
    background-color: #17bd9e;
}

#user .user-troggle-color::before {  
    width: 80px;
    left: -80px;
}

#user .user-troggle-color::after {
    width: 80px;
    right: -80px;
}


#user-face img {
    width: 60px;
    height: 60px; 
    border-radius: 30px;
}

#user-menu-content {
    width: 200px;
    height: 96px;
    padding-top: 30px;
    position: absolute;
    top: 64px;
    left: 0;
    font-size: 16px;
    color: #f5f7f7;
}

#user-name {
    margin-bottom: 16px;
    cursor: default;
}

#user-info-btn, 
#user-logout-btn {
    width: 92px;
    height: 28px;
    line-height: 28px;
    display: inline-block;
    border-top: 2px solid #17bd9e;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}

#user-info-btn:hover, 
#user-logout-btn:hover {
    color: #17bd9e;
}

#user-info-btn {
    margin-left: 8px;
}

#user-logout-btn {
    margin-right: 8px;
}

#user-info-btn i::before, 
#user-logout-btn i::before {
    margin-right: 4px;
} 

#nav i {
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

#menu-icon {
    text-align: center;
}

#menu-icon i {
    line-height: 60px;
    font-size: 2em;
    color: #405570;
}

.menu-button {
    width: 150px;
    height: 70px;
    padding-top: 10px;
    position: relative;
    text-align: center;
    color: #ecf0f1;
}

.menu-button:hover {
    cursor: pointer;
    color: #17bd9e;
    background-color: rgba(0,0,0,0.8);
}

.menu-button:hover::after, 
.menu-button-active::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: calc(35px - 0.75em);
    right: 0;
    border: 0.75em solid transparent;
    border-right-color: #f5f7f7;
}

.menu-button-active {
    color: #409ce9;
    background-color: rgba(0,0,0,0.8);
}

.menu-button-active:hover {
    color: #409ce9;
}

.menu-button i {
    font-size: 2em;
}

.menu-button p {
    margin: 5px 0;
    font-size: 1em;
    text-indent: 3px;
    letter-spacing: 3px;
}

.sub-menu {
    width: 250px;
    margin: 0;
    padding-left: 0;
    position: absolute;
    top: calc(35px - 1.25em);
    right: calc(-250px - 0.5em);
    display: none;
    border-radius: 8px;
    list-style: none;
    text-align: left;
    text-indent: 1em;
    color: #f5f7f7;
    background-color: #2e3d4f;
    z-index: 9999;
}

.sub-menu::before {
    content:"";
    width: 0;
    height: 0;
    position: absolute;
    top: calc(49.5px - 3em);
    left: -1.25em;
    border: 0.75em solid transparent;
    border-right-color: #2e3d4f;
    z-index: 1001;
}

.sub-menu li {
    height: 2.5em;
    line-height: 2.5em;
}

.sub-menu li:hover {
    color: #17bd9e;
}

#menu-bottom {
    width:150px;
    height:3em;
    line-height: 3em;
    position: absolute;
    bottom: 1em;
    text-align: center;
    animation: rotate-animation 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#menu-bottom i {
    font-size: 3em;
    color: #17bd9e;
}

#content-box {
    flex: 1;
}

#content-header {
    height: 60px;
    border-top-right-radius: 30px;
    border-bottom: 2px solid #ddd;
    background-color: #ecf0f1;
}

#breadcrumb {
    height: 60px;
    line-height: 60px;
    margin: 0;
    padding-left: 15px;
    font-size: 1.1em;
    list-style: none;
}

#breadcrumb li {
    display: inline-block;
    color: #777;
    cursor: default;
}

#breadcrumb li::before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";    
}

#breadcrumb li:first-child::before {
    content: "";      
}

#breadcrumb a, 
#breadcrumb a:active, 
#breadcrumb a:focus, 
#breadcrumb a:visited {
    color: #17bd9e;
    text-decoration: none;
} 

#breadcrumb a:hover {
    text-decoration: underline;
}

#content {
    min-height: calc(100% - 60px);
    background-color: #f5f7f7;
}

#footer {
    height: 50px;
}

.ad-content {
    min-width: calc(100% - 66px);
    margin: 0 33px;
    padding: 15px 0;
    position: relative;
}

.ad-list {
    min-width: calc(100% - 4px);
    height: 480px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 3px 3px 16px rgba(0,0,0,0.6);
}

.ad-item {
    width: 300px;
    height: 450px;
    margin: 15px 10px;
    display: inline-block;
    position: absolute;
    border-radius: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 300px;
    transition: all 0.5s ease;
}

.ad-item:hover {
    top: -10px;
    box-shadow: 3px 3px 9px rgba(0,0,0,0.6);
}

.ad-on-edit {
    width: 300px;
    height: 450px;
    border-radius: 15px;
    border: 5px solid #17bd9e;
    background-color: rgba(0,0,0,0.3);
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

.ad-on-edit i {
    position: absolute;
    top: calc(50% - 32px);
    left: calc(50% - 32px);
    font-size: 64px;
    color: #17bd9e;
    cursor: pointer;
}

.ad-prop {
    min-width: calc(100% - 4px);
    height: 160px;
    margin-top: 30px;
    padding-top: 15px;
    position: relative;
}

.ad-prop-row {
    width: 750px;
    height: 52px;
    margin: 15px auto 0 auto;
    position: relative;
    overflow: hidden;
}

.ad-prop-row label {
    height: 22px;
    width: 54px;
    line-height: 18px;
    position: absolute;
    top: 12px;
    left: 10px;
    font-size: 20px;
    color: #777;
    text-align: left;
}

.ad-prop-row label::after {
    width: 0;
    height: 0;
    content: "";
    position: absolute;
    top: 2px;
    right: -12px;
    border: 8px solid transparent;
    border-left-color: #777;
}

.ad-prop-row input[type=text] {
    width: 750px;
    height: 40px;
    padding: 5px 0 0 0;
    border: 0;
    border-bottom: 2px solid #ddd;
    text-indent: 80px;
    font-size: 20px;
    color: #777;
    background-color: #f5f7f7;
    outline: 0;
}

.ad-prop-row .ad-underline {
    width: 750px;
    height: 41px;
    border-bottom: 3px solid #17bd9e;
    position: absolute;
    left: -750px;
    top: 0;
}

#ad-image-btn {
    width: 36px;
    height: 36px;
    margin: 5px auto 0 auto;
    border-radius: 18px;
    box-shadow: 0 0 6px rgba(0,0,0,0.6);
    text-align: center;
}

#ad-image-btn i {
    line-height: 36px;
    font-size: 18px;
}

.ad-move-left, .ad-move-right {
    width: 3em;
    height: 70px;
    position: absolute;
    top: 215px;
    background: rgba(0,0,0,0.6);
    text-align: center;
    cursor: pointer;
}

.ad-move-left {
    left: -1.5em;
}

.ad-move-right {
    right: -1.5em;
}

.ad-content .fa-chevron-left,
.ad-content .fa-chevron-right {
    font-size: 3em;
    line-height: 70px;
    margin-top: 3px;
    color: #17bd9e;
}











